import request from '@/utils/request'

export function addMainTask(data) {
  return request({
    url: '/maintask/getAdd',
    method: 'post',
    data
  })
}
export function addSubTask(data) {
  return request({
    url: '/branchtask/addBranch',
    method: 'post',
    data
  })
}

export function getTaskTableList(data) {
  return request({
    url: '/branchtask/getTaskList',
    method: 'post',
    data
  })
}

